package com.mibox.common.adapter;

import androidx.annotation.NonNull;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.mibox.common.R;
import com.mibox.common.bean.SettingBean;

public class SettingsListAdapter extends BaseQuickAdapter<SettingBean, BaseViewHolder> {

    public SettingsListAdapter() {
        super(R.layout.layout_text_item);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder holder, SettingBean bean) {
        holder.setText(R.id.item_title, bean.name);
    }
}
